<?php
/**
 * Created by IDEA.
 * User: dinesh
 * Date: Jun 25, 2013
 * Time: 3:32:45 PM
 * To change this template use File | Settings | File Templates.
 */



?>
<link rel="stylesheet" type="text/css" href="css/dhtmlx/calendar/dhtmlxcalendar.css">
<link rel="stylesheet" type="text/css" href="css/dhtmlx/calendar/skins/dhtmlxcalendar_dhx_skyblue.css">

<link rel="stylesheet" type="text/css" href="css/dhtmlx/grid/skins/dhtmlxgrid_dhx_skyblue.css">
<link rel="STYLESHEET" type="text/css" href="css/dhtmlx/grid/dhtmlxgrid_pgn_bricks.css">
<link rel="STYLESHEET" type="text/css" href="css/dhtmlx/grid/dhtmlxgrid.css">
<link rel="STYLESHEET" type="text/css" href="css/dhtmlx/toolbar/skins/dhtmlxtoolbar_dhx_skyblue.css">
<script src="js/jquery/jquery-1.8.2.min.js"></script>
<script src="js/dhtmlx/grid/dhtmlxgrid.js"></script>
<script src="js/dhtmlx/grid/dhtmlxgridcell.js"></script>
<script src="js/dhtmlx/grid/ext/dhtmlxgrid_filter.js"></script>
<script src="js/dhtmlx/grid/ext/dhtmlxgrid_srnd.js"></script>
<script src="js/dhtmlx/grid/dhtmlxgrid_pgn.js"></script>
<script src="js/dhtmlx/toolbar/dhtmlxtoolbar.js"></script>
<script src="js/dhtmlx/calendar/dhtmlxcalendar.js"></script>


<table width='100%' border='0' cellpadding='0' cellspacing='0'>

		<tr>
			<td>
				<div>
                    <div id="gridbox" style="width:1000px;height:230px;margin-top:10px;z-index:1"></div>
                    <div><span id="pagingArea"></span>&nbsp;<span id="infoArea"></span><span id="recfound"></span></div>
				</div>
			</td>
		</tr>
		<tr>
			<td><!-- Data Controls Div -->
                           <fieldset>
                                    <legend>TLD Holder List Details</legend>

                          <div id="error"></div>
                          <form method="post" id="frmData" action="">
                              <input type="hidden" id="id" name="id" />
                              <input type="hidden" id="profile_id" name="profile_id" />
                              <div>
                               <table>
                                  <tr>
                                      <td width="200px"><label for="lotName">TLD Lot Name :</label></td>
                                      <td><input id="lotName" name="lotName" size="50" type="text" /> <span id="nameInfo"> </span></td>
                                  </tr>
                                  <tr>
                                      <td> <label for="color">Color :</label></td>
                                      <td><input id="color" name="color" size="50" type="text" /> <span id="colorInfo"></span></td>
                                  </tr>
                                  <tr>
                                      <td> <label for="price">Price :</label></td>
                                      <td> <input id="price" name="price" size="50" type="text" /> <span id="priceInfo"></span></td>
                                  </tr>
                                   <tr>
                                      <td> <label for="material">Material :</label></td>
                                      <td> <input id="material" name="material" size="50" type="text" /> <span id="materialInfo"></span></td>
                                  </tr>
                                  <tr>
                                      <td> <label for="specification">Specification :</label></td>
                                      <td><input id="specification" name="specification" size="50" type="text" /><span id="specInfo"></span></td>
                                  </tr>
                                       </div>
                                   <tr>
                                      <td> <label for="supplier">Supplier :</label></td>
                                      <td><input id="supplier" name="supplier" size="50" type="text" /> <span id="supplierInfo"></span></td>
                                  </tr>
                                  <tr>
                                      <td> <label for="quantity">Quantity :</label></td>
                                      <td><input id="quantity" name="quantity" size="50" type="text" /> <span id="quantityInfo"></span></td>
                                  </tr>
                                  <tr>
                                      <td> <label for="receivedDate">Received Date :</label></td>
                                      <td> <input id="receivedDate" name="receivedDate" size="50" type="text" /> <span id="receivedDateInfo"></span></td>
                                  </tr>
                                  <tr>
                                      <td> <label for="codeRange">Code Range :</label></td>
                                      <td> <input id="codeRange" name="codeRange" size="50" type="text" /> <span id="codeRangeInfo"></span></td>
                                  </tr>
                               </table>

                          </form>

                         </fieldset>

					<table border="0" cellspacing="5px" cellpadding="0px" width="100%" style="margin-top:0px;">
						<tr>
							<td>
								<button id="btnClose" onclick="closePage();" privilege="" class="clsButtonSmall">Close</button>
								<button id="btnAdd" onclick="add();" privilege="TLD.SAVE" class="clsButtonSmall">Add</button>
								<button id="btnEdit" onclick="edit();" privilege="USER.EDIT" class="clsButtonSmall">Edit</button>
								<button id="btnDelete" onclick="del();" privilege="USER.DELETE" class="clsButtonSmall">Delete</button>

								<button id="btnClear" onclick="initialize();" privilege="" class="clsButtonSmall">Clear</button>
							</td>
							<td width="*" align="right">
                                <button id="btnAddCard" onclick="addCard();" privilege="" class="clsButtonSmall">Add New TLD Holder</button>
								<button id="btnSave" onclick="save();" class="clsButtonSmall">Save</button>
							</td>
						</tr>
					</table>
				</div>
			</td>
		</tr>
	</table>


<script src="js/tld/holderList.js"></script>
<div id='messagePanel'> </div>
